﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsFormsApplication1
{
    class Real_number:Number
    {

        public Real_number(double re)
        {
            this.real_part = re;
        }

        public override double imaginary_part
        {
            get { return 0; }
            set { real_part = 0; }
        }

        public override string Tostring()
        {
            return this.real_part.ToString();
        }
    }
}
